import Vue from 'vue'
import VueRouter from 'vue-router'
import GoLogin from '../views/GoLogin.vue'
import MyHome from '../views/MyHome.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'GoLogin',
    component: GoLogin,
    hidden: true
  },
  {
    path: '/myHome',
    name: 'MyHome',
    component: MyHome,
  },
]

const router = new VueRouter({
  routes
})

export default router
